<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('新增学生和证书关系的状态')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-state-add">
        <input name="studataCerId" id="studataCerId" th:value="${stuDataCer.studataCerId}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">审核状态：</label>
            <div class="col-sm-8">
                <select type="text" name="reviewStatus">
                    <option value="1">审核中</option>
                    <option value="2">审核通过</option>
                    <option value="3">审核未通过</option>
                </select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">审核信息：</label>
            <div class="col-sm-8">
                <textarea name="reviewInfo" class="form-control" style="width: 80%;"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">是否发送邮件提醒：</label>
            <div class="col-sm-8">
                <label class="toggle-switch switch-solid">
                    <input type="checkbox" id="isEmail" name="isEmail">
                    <span></span>
                </label>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
        var prefix = ctx + "system/stuDataCer"
        $("#form-state-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/addReview", $('#form-state-add').serialize());
            }
        }
    </script>
</body>
</html>